package dubbo.server2.impl.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/websocket")
public class WebSocketController {
    //页面请求
    @GetMapping("/view")
    public ModelAndView socket() {
        ModelAndView mav=new ModelAndView("/websocket");
        return mav;
    }
}
